package com.rivulet.doj_backend.controller;

import org.springframework.web.bind.annotation.*;

/**
 * {主页功能}
 *
 * @author xujiac
 * @create 2021/4/4
 * @since 1.0.0
 */

@CrossOrigin(origins = {"http://localhost:8080", "null"})
@RestController
@RequestMapping(value = "/doj")
public class HomePageController {
    @RequestMapping(value = "/homePage")
    public String homePage(){
        System.out.println("一个主页该显示的内容");
        return "一个主页该显示的内容";
    }
}
